package cn.wolfcode.luowowo.flight.service.impl;

import cn.wolfcode.luowowo.flight.domain.Airport;
import cn.wolfcode.luowowo.flight.mapper.AirportMapper;
import cn.wolfcode.luowowo.flight.service.IAirportService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class AirportServiceimpl implements IAirportService {

    @Autowired
    private AirportMapper airportMapper;

    @Override
    public List<Airport> getPortByDest(String city) {

        return  airportMapper.getPortByDest(city);
    }
}
